﻿using System;
using System.Collections.Generic;
using System.IO.Ports;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace modbusEx
{
   public class MODBUS
    {
        //通信参数
        public string PortName { get; set; }
        public int BaudRate { get; set; }
        public int DataBits { get; set; }
        public StopBits StopBits { set; get; }
        public Parity Parity { get; set; }
        //站地址
        public byte SalveId { get; set; } 

    }
}
